package search.generator;

/**
 * @author XY
 * @version 1.0
 * @date 2021/8/16 10:54
 * @Description
 */
public class ArrayGenerator {
    private ArrayGenerator(){

    }

    public static Integer[] generateOrderedArray(int n){
        Integer[] arr = new Integer[n];
        for (int i = 0; i < n; i++) {
            arr[i] = i;
        }
        return arr;
    }
}
